<?php

namespace App\Services\Factory\UploadingFactory;

class UploadingFactory
{
    public static function uploading($type)
    {
        switch ($type){
            case 'Ali'  :
                return new Ali();
            case 'Qiniu':
                return new Qiniu();
            default:
                return null;
        }
    }
}
